Smush\Core\Stats D

Total Complexity 167
Dependencies 5
Dependents 1
Total lines 922
Lines of code 499
Logical lines of code 291
Comment lines 275
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
global_stats()
D
31 34 97
get_savings()
B
37 21 74
get_stats_for_attachments()
B
43 21 45
combine_conversion_stats()
A
53 10 21
run_query()
A
46 9 36
combined_stats()
A
53 10 20
total_compression()
A
57 9 15
setup_global_stats()
A
55 8 19
get_unsmushed_attachments()
S
58 8 15
get_smushed_attachments()
S
54 6 21
add_to_media_attachments_list()
S
61 5 12
remaining_count()
S
64 5 9
get_media_attachments()
S
54 3 22
remove_from_media_attachments_list()
S
62 3 11
skipped_count()
S
63 3 10
remove_from_smushed_list()
S
63 3 10
add_to_smushed_list()
S
63 3 10
__construct()
S
57 1 19
get_attachments()
S
61 1 14
init()
S
98 1 1
remove_stats()
S
73 1 5
update_lists()
S
77 1 4
get_super_smushed_attachments()
S
67 1 9